package com.liang.service.impl;

import com.liang.entity.Student;
import com.liang.service.FeignProviderClient;
import org.springframework.stereotype.Component;

import java.util.Collection;

/**
 * Created with Intellij IDEA
 *
 * @Auther: liangjy
 * @Date: 2021/12/24/10:27
 * @Description:
 */
@Component
public class FeignError implements FeignProviderClient {
    @Override
    public Collection<Student> findAll() {
        return null;
    }

    @Override
    public String index() {
        return "服务器维护中....";
    }
}
